package com.hspedu.spring.annotation;

/**
 * @author Charlie
 * @version 1.0
 * @date 5/11/2025 上午8:51
 */
public class HspApplicationContextTest {
    public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException {
        HspSpringApplicationContext ioc =
                new HspSpringApplicationContext(HspSpringConfig.class);
        Object userAction = ioc.getBean("userAction");
        Object userDao = ioc.getBean("userDao");


        System.out.println("userAction =" + userAction);
        System.out.println("userDao =" + userDao);

        System.out.println("ok");
    }
}
